object frmSaleDetailReport: TfrmSaleDetailReport
  Left = 0
  Top = 0
  Caption = #38144#21806#26126#32454#25253#34920
  ClientHeight = 497
  ClientWidth = 778
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object rztbTop: TRzToolbar
    Left = 0
    Top = 0
    Width = 778
    Height = 29
    ButtonWidth = 60
    ShowButtonCaptions = True
    TextOptions = ttoSelectiveTextOnRight
    BorderInner = fsNone
    BorderOuter = fsGroove
    BorderSides = [sdTop]
    BorderWidth = 0
    TabOrder = 0
    ToolbarControls = (
      lblFrom
      edtFrom
      lblTo
      edtTo
      btnsearch
      btnAdvancedSearch
      rzsp2
      btnRzBtnExcel
      btnExcelReport)
    object lblFrom: TRzLabel
      Left = 4
      Top = 8
      Width = 12
      Height = 13
      Caption = #20174
    end
    object lblTo: TRzLabel
      Left = 137
      Top = 8
      Width = 12
      Height = 13
      Caption = #21040
    end
    object rzsp2: TRzSpacer
      Left = 420
      Top = 2
      Width = 61
    end
    object edtFrom: TRzDateTimeEdit
      Left = 16
      Top = 4
      Width = 121
      Height = 21
      EditType = etDate
      TabOrder = 0
    end
    object btnsearch: TRzButton
      Left = 270
      Top = 2
      Caption = #25628#32034
      TabOrder = 1
      OnClick = btnsearchClick
    end
    object edtTo: TRzDateTimeEdit
      Left = 149
      Top = 4
      Width = 121
      Height = 21
      EditType = etDate
      TabOrder = 2
    end
    object btnRzBtnExcel: TRzButton
      Left = 481
      Top = 2
      Width = 96
      Hint = 'Excel'
      Caption = #23548#20986#30028#38754#25968#25454
      TabOrder = 3
      OnClick = btnRzBtnExcelClick
    end
    object btnAdvancedSearch: TRzButton
      Left = 345
      Top = 2
      Hint = 'Excel'
      Caption = #36807#28388#25628#32034
      TabOrder = 4
      OnClick = btnAdvancedSearchClick
    end
    object btnExcelReport: TRzButton
      Left = 577
      Top = 2
      Width = 96
      Caption = 'Excel'#25253#34920
      TabOrder = 5
    end
  end
  object tcIsIn: TRzTabControl
    Left = 0
    Top = 29
    Width = 778
    Height = 468
    Align = alClient
    TabIndex = 0
    TabOrder = 1
    Tabs = <
      item
        Caption = 'RS Detail'
      end
      item
        Caption = 'SS Detail'
      end>
    OnChange = tcIsInChange
    FixedDimension = 19
    object grdSaleDetail: TDBGridEh
      Left = 1
      Top = 20
      Width = 774
      Height = 445
      Align = alClient
      DataGrouping.GroupLevels = <>
      DataSource = dsSaledt
      Flat = False
      FooterColor = clWindow
      FooterFont.Charset = DEFAULT_CHARSET
      FooterFont.Color = clWindowText
      FooterFont.Height = -11
      FooterFont.Name = 'Tahoma'
      FooterFont.Style = []
      IndicatorOptions = [gioShowRowIndicatorEh]
      ReadOnly = True
      TabOrder = 0
      TitleFont.Charset = DEFAULT_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'Tahoma'
      TitleFont.Style = []
      Columns = <
        item
          EditButtons = <>
          FieldName = 'brand'
          Footers = <>
          Title.Caption = #21697#29260
        end
        item
          EditButtons = <>
          FieldName = 'barcode'
          Footers = <>
          Width = 83
        end
        item
          EditButtons = <>
          FieldName = 'style'
          Footers = <>
          Title.Caption = #27454#24335
          Width = 144
        end
        item
          EditButtons = <>
          FieldName = 'qty'
          Footers = <>
          Title.Caption = #38144#21806#25968#37327
          Width = 36
        end
        item
          EditButtons = <>
          FieldName = 'salePrice'
          Footers = <>
          Title.Caption = #23450#20215
        end
        item
          EditButtons = <>
          FieldName = 'actualPrice'
          Footers = <>
          Title.Caption = #23454#38469#38144#21806#20215
        end
        item
          EditButtons = <>
          FieldName = 'discount'
          Footers = <>
          Title.Caption = #25240#25187
        end
        item
          EditButtons = <>
          FieldName = 'amount'
          Footers = <>
          Title.Caption = #38144#21806#24635#37329#39069
        end
        item
          EditButtons = <>
          FieldName = 'desc'
          Footers = <>
          Title.Caption = #38144#21806#25551#36848
          Width = 308
        end
        item
          EditButtons = <>
          FieldName = 'date'
          Footers = <>
          Title.Caption = #38144#21806#26085#26399
        end
        item
          EditButtons = <>
          FieldName = 'saleNO'
          Footers = <>
          Title.Caption = #38144#21806#21333#21495
        end
        item
          EditButtons = <>
          FieldName = 'name'
          Footers = <>
          Title.Caption = #21517#31216
          Width = 218
        end
        item
          EditButtons = <>
          FieldName = 'size'
          Footers = <>
          Title.Caption = #22823#23567
        end
        item
          EditButtons = <>
          FieldName = 'color'
          Footers = <>
          Title.Caption = #39068#33394
        end
        item
          EditButtons = <>
          FieldName = 'Description'
          Footers = <>
          Title.Caption = #29289#21697#25551#36848
          Width = 455
        end
        item
          EditButtons = <>
          FieldName = 'Collection'
          Footers = <>
          Title.Caption = #31995#21015
          Width = 177
        end
        item
          EditButtons = <>
          FieldName = 'Item'
          Footers = <>
          Title.Caption = #23567#20998#31867
          Width = 206
        end>
      object RowDetailData: TRowDetailPanelControlEh
      end
    end
  end
  object myqrySaleDt: TMyQuery
    Connection = DMMySQL.conMySQL
    SQL.Strings = (
      
        'select dt.qty,dt.salePrice,dt.actualPrice,dt.discount,dt.amount,' +
        'dt.desc,dt.isin,'
      
        'hd.date,hd.saleNO,sg.barcode,sg.name,sg.brand,sg.size,sg.style,s' +
        'g.color,sg.Description,sg.Collection,sg.Item'
      'from saledt dt left join salehd hd on dt.hdid=hd.id'
      'left join goodsinfo sg on dt.goodsid=sg.id')
    ReadOnly = True
    Left = 328
    Top = 128
  end
  object dsSaledt: TDataSource
    DataSet = myqrySaleDt
    Left = 496
    Top = 240
  end
end
